package cn.mapper;

import java.util.List;
import java.util.Map;

import cn.entity.Teacher;

public interface TeacherMapper {
	public void add(Teacher teacher);
	public Teacher login(Map map);

	public void delete(Integer en_id);

	public void update(Teacher teacher);
	public void updatepassword(Teacher teacher);
	public void updatemiddlesubject(Map Map);
	public void updatemiddleclass(Map Map);
	public void addmiddlesubject(Map map);
	public void addmiddleclass(Map map);
	public Teacher get(Map map);
	public Integer checkName(String tname);
	public Teacher findone(String tname);
	public List<Teacher> find(Map map);
	public List<Teacher> findby(Map map);
}
